package com.uphone.kingmall.bean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/19
 *     desc   :
 * </pre>
 */
public class HaggleDetailBean {

    /**
     * msg : ok
     * code : 0
     * haggleInfo : {"haggleId":1,"userId":4,"goodsId":3,"goodsName":"砍价测试","goodsMainImg":"http://localhost:8082/upload/images/goods/2e3f3cad023342858ae208a19deb810f.jpg","goodsPrice":500,"hagglePrice":123.36,"unhagglePrice":376.64,"endTime":60861,"blOrder":0,"orderId":0,"haggleHelps":[{"helpUserId":2,"helpHagglePrice":20,"helpTime":"2019-02-13 18:12:04","userName":"测试","userPhoto":"http://localhost:8082/images/photo1.png"},{"helpUserId":3,"helpHagglePrice":20,"helpTime":"2019-02-14 11:27:49","userName":"","userPhoto":""},{"helpUserId":1,"helpHagglePrice":83.36,"helpTime":"2019-02-14 11:31:55","userName":"测试","userPhoto":"http://localhost:8082/images/photo1.png"}],"haggleType":1}
     */

    private String msg;
    private int code;
    private HaggleInfoBean haggleInfo;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public HaggleInfoBean getHaggleInfo() {
        return haggleInfo;
    }

    public void setHaggleInfo(HaggleInfoBean haggleInfo) {
        this.haggleInfo = haggleInfo;
    }

    public static class HaggleInfoBean {
        /**
         * haggleId : 1
         * userId : 4
         * goodsId : 3
         * goodsName : 砍价测试
         * goodsMainImg : http://localhost:8082/upload/images/goods/2e3f3cad023342858ae208a19deb810f.jpg
         * goodsPrice : 500
         * hagglePrice : 123.36
         * unhagglePrice : 376.64
         * endTime : 60861
         * blOrder : 0
         * orderId : 0
         * haggleHelps : [{"helpUserId":2,"helpHagglePrice":20,"helpTime":"2019-02-13 18:12:04","userName":"测试","userPhoto":"http://localhost:8082/images/photo1.png"},{"helpUserId":3,"helpHagglePrice":20,"helpTime":"2019-02-14 11:27:49","userName":"","userPhoto":""},{"helpUserId":1,"helpHagglePrice":83.36,"helpTime":"2019-02-14 11:31:55","userName":"测试","userPhoto":"http://localhost:8082/images/photo1.png"}]
         * haggleType : 1
         */

        private int haggleId;
        private int userId;
        private int goodsId;
        private String goodsName;
        private String goodsMainImg;
        private double goodsPrice;
        private double hagglePrice;
        private double unhagglePrice;
        private int endTime;
        private int blOrder;
        private int orderId;
        private int haggleType;
        private int installationFee;
        private double orderPostFee;
        private List<HaggleHelpsBean> haggleHelps;

        public int getInstallationFee() {
            return installationFee;
        }

        public void setInstallationFee(int installationFee) {
            this.installationFee = installationFee;
        }

        public double getOrderPostFee() {
            return orderPostFee;
        }

        public void setOrderPostFee(double orderPostFee) {
            this.orderPostFee = orderPostFee;
        }

        public int getHaggleId() {
            return haggleId;
        }

        public void setHaggleId(int haggleId) {
            this.haggleId = haggleId;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getGoodsMainImg() {
            return goodsMainImg;
        }

        public void setGoodsMainImg(String goodsMainImg) {
            this.goodsMainImg = goodsMainImg;
        }

        public double getGoodsPrice() {
            return goodsPrice;
        }

        public void setGoodsPrice(double goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public double getHagglePrice() {
            return hagglePrice;
        }

        public void setHagglePrice(double hagglePrice) {
            this.hagglePrice = hagglePrice;
        }

        public double getUnhagglePrice() {
            return unhagglePrice;
        }

        public void setUnhagglePrice(double unhagglePrice) {
            this.unhagglePrice = unhagglePrice;
        }

        public int getEndTime() {
            return endTime;
        }

        public void setEndTime(int endTime) {
            this.endTime = endTime;
        }

        public int getBlOrder() {
            return blOrder;
        }

        public void setBlOrder(int blOrder) {
            this.blOrder = blOrder;
        }

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public int getHaggleType() {
            return haggleType;
        }

        public void setHaggleType(int haggleType) {
            this.haggleType = haggleType;
        }

        public List<HaggleHelpsBean> getHaggleHelps() {
            return haggleHelps;
        }

        public void setHaggleHelps(List<HaggleHelpsBean> haggleHelps) {
            this.haggleHelps = haggleHelps;
        }

        public static class HaggleHelpsBean {
            /**
             * helpUserId : 2
             * helpHagglePrice : 20
             * helpTime : 2019-02-13 18:12:04
             * userName : 测试
             * userPhoto : http://localhost:8082/images/photo1.png
             */

            private int helpUserId;
            private double helpHagglePrice;
            private String helpTime;
            private String userName;
            private String userPhoto;

            public int getHelpUserId() {
                return helpUserId;
            }

            public void setHelpUserId(int helpUserId) {
                this.helpUserId = helpUserId;
            }

            public double getHelpHagglePrice() {
                return helpHagglePrice;
            }

            public void setHelpHagglePrice(double helpHagglePrice) {
                this.helpHagglePrice = helpHagglePrice;
            }

            public String getHelpTime() {
                return helpTime;
            }

            public void setHelpTime(String helpTime) {
                this.helpTime = helpTime;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getUserPhoto() {
                return userPhoto;
            }

            public void setUserPhoto(String userPhoto) {
                this.userPhoto = userPhoto;
            }
        }
    }
}
